				<div class="section-content">
					<div class="row row-section-content" id="manga-section-content">
						<?php truyen_render_desktop_detail_box($data);?>
						<div class="col-md-12 col-xs-12 col-sm-12 left" id="left-8">
							<div class="chapt-panel" id="manga-chapt-panel">
								
								
                                
								<div role="tabpanel" class="chapt-tab">
									<div class="chapt-header">
										<ul class="nav nav-pills">
											<li role="presentation" class="active"><a data-toggle="tab" href="#manga-chapt-content">Danh sách chương</a></li>
                                            <?php if(count($data['related'])>0){?>
											<li role="presentation"><a data-toggle="tab" href="#manga-chapt-sub-content">Truyện Liên Quan<span class="badge"><?php echo count($data['related']); ?></span></a></li>
                                            <?php }?>
											
										</ul>
									</div>

                                    
									<div class="tab-content" style="padding:0px">
										<div class="tab-pane active fade in" id="manga-chapt-content">
                                                      	<?php
											//Render list
											$dt5=array_slice($data['chuong']['data'],0,5);
											$str='<div class="wrap-chapt-chosen" style="padding-bottom:5px">';
												$str.='<div class="row">';
												$str.='<div class="col-md-6">';
		                          			  $str.=' <select class="form-control input-large chapt-chosen" onchange="location.href=this.value" >';
                                                        $str.='<option>Chọn Nhanh Chương</option>';
                                                     
                                                     
                                                          foreach ($data['chuong']['data'] as $row)
                                                         {
                                                        $str.='<option value="'.truyenf1_url_truyen_chuong($row['id'],$row['alias'],$data['alias']).'">'.$row['ten'].'</option>';
                                                          }	
                      							 $str.=' </select>';
												$str.='</div>';
												
												$str.='<div class="col-md-6 wrap-chapt-chosen-info">';
                                                 $r1=$data['chuong']['data']['0'];
												$str.='<p class="chapt-chosen-info">Chương mới nhất:&nbsp;&nbsp; <span><a href="'.truyenf1_url_truyen_chuong($r1['id'],$data['alias'],$r1['alias']).'">'.$r1['ten'].'</a></span>  / '.time_ago($r1['time_upload']).'</p>';
												
												
												$str.='</div>';
												$str.='</div>'; //End row class
												echo $str;
											//Render 5 chuong moi nhat --------
										
												
												$str=' <div id="paging_content" class="truyen_list">';
												if($data['chuong']['nav'])
												$str.='<div class="row"><div class="col-md-12" style="text-align:center">'.$data['chuong']['nav'].'</div></div>';	
												$str.=truyen_render_chapter_item($data['chuong']['data'],$data['alias']);
												if($data['chuong']['nav'])
												$str.='<div class="row"><div class="col-md-12" style="text-align:center">'.$data['chuong']['nav'].'</div></div>';	
												
												$str.='</div>';
												echo $str;
											?>
											<?php // echo truyen_render_chapter($data['chuong_list'],$data['alias']);?>
										</div>
									
                                    
                                    
                                    	<?php if(count($data['related'])>0){?>
										<div class="tab-pane fade in" id="manga-chapt-sub-content">
                          
											<?php echo manga_render_related_manga($data['related']); ?>
										</div><!-- /#manga-chapt-sub-content -->
                                        <?php }?>
									</div> <!-- End tab content -->
								</div>
								
								<div class="clr"></div>
							</div><!-- /.suggested-panel -->
							<div style="height:15px"></div>

							
						</div><!-- /.left -->
						<div class="col-md-12 col-xs-12 col-sm-12 right" id="right-4">
						
							<div class="right-section" id="right-fb-comment">
									<!-- Start disquz -->
                
											<div style="background-color:#fff; padding:5px">
		   <div id="disqus_thread"></div>
    <script type="text/javascript">
        /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
        var disqus_shortname = 'truyencuatui'; // required: replace example with your forum shortname

        /* * * DON'T EDIT BELOW THIS LINE * * */
        (function() {
            var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
            dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
        })();
    </script>
    <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
    </div>
    <!-- End disqus-->


							</div><!-- /#right-comment -->
					
						</div><!-- /.right -->
					</div><!-- /.left -->
				</div>
				<!-- /.section-content -->
			</div><!-- /#section-manga -->
			

      <script type="text/javascript">
	function ajax_pagination(page){
			$.ajax({
			url : "<?php echo truyenf1_url_truyen($data['id'],$data['alias']); ?>",
	    	type : 'POST',
	    	
				//exit();
    		data : {
				page :page,
				ajax_pagination: 1,
				alias:'<?php echo $data['alias'];?>',
				url:'<?php echo truyenf1_url_truyen($data['id'],$data['alias']); ?>'
			},
    		
			success: function(data, textStatus, jqXHR){
	
			$('#paging_content').html(data);
				
		  },
		  cache: false
	
		});
		
		
		
	}
	</script>        